﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Soft
{

    /// <summary>
    /// 简单输出到屏幕
    /// </summary>
    public class SimpleOutputScreenObject
    {
        /// <summary>
        /// 输出到控制台
        /// </summary>
        /// <param name="text"></param>
        public void Output(string text)
        {
            Console.Write(text);
        }


        /// <summary>
        /// 按格式化输出到控制台
        /// </summary>
        /// <param name="format"></param>
        /// <param name="args"></param>
        public void Output(string format, params object[] args)
        {
            Console.Write(string.Format(format, args));
        }
    }
}
